var express = require('express');
var router = express.Router();
var users = require("../dbControllers/public/user/loginControllers")
var meau = require("../dbControllers/manage/meauListControllers")
var userInfo = require("../dbControllers/manage/userlistControllers")
router.post('/login',users.login)//登录
router.post('/register',users.register)//注册
router.get('/meau',meau.getMeauList)//菜单
router.get('/userinfo',userInfo.getUserList)//获取用户
router.post('/delUsers',userInfo.delUsers)//删除用户
router.post('/addUser',userInfo.addUser)//添加用户
router.post('/editUsers',userInfo.editUsers)//修改用户
router.get('/getOneInfo',userInfo.getOneInfo)//修改用户

module.exports = router;
